{% extends 'admin/admin_master.html' %}
{% import 'admin/lib.html' as lib with context %}
{% import 'admin/static.html' as admin_static with context%}

{% macro extra() %}
  <input name="_add_another" type="submit" class="btn btn-large"
        value="{{ _gettext('Save and Add') }}" />
{% endmacro %}

{% block content %}

    {% call lib.form_tag(form) %}
        {{ lib.render_form_fields(form, form_opts=form_opts) }}
        {{ lib.render_form_buttons(return_url, extra()) }}
    {% endcall %}
{% endblock %}

